﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace mars_client.gui.page
{
    /// <summary>
    /// SystemMessagePage.xaml 的交互逻辑
    /// </summary>
    public partial class SystemMessagePage : Page
    {
        public SystemMessagePage()
        {
            InitializeComponent();
        }
        public void console(string message)
        {
            TextBlock t = new TextBlock();
            t.Text = message;
            t.Width = 650;
            t.TextWrapping = TextWrapping.Wrap;
            t.FontFamily = new FontFamily("微软雅黑");
            Label label = new Label();
            label.Content = "-------------------------------";
            this.Console.Children.Add(t);
            this.Console.Children.Add(label);
        }
    }
}
